# Contributor: Newbyte <newbyte@disroot.org>
# Maintainer: Newbyte <newbyte@disroot.org>
pkgname=py3-simpleaudio
pkgver=1.0.4
pkgrel=1
pkgdesc="Simple, asynchronous audio playback for Python 3"
url="https://github.com/hamiltron/py-simple-audio"
arch="all"
license="MIT"
options="!check" # no tests?
depends="python3"
makedepends="python3-dev py3-setuptools alsa-lib-dev"
source="https://files.pythonhosted.org/packages/source/s/simpleaudio/simpleaudio-$pkgver.tar.gz"
builddir="$srcdir/simpleaudio-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
975078ceb34639db22aeedd01b6d027577b1926356d31cb6508cb3e11b78f0a4d72630440eb23c14e19220384357eb8e973375f8d80c1cc33856fe72f9933f3f  simpleaudio-1.0.4.tar.gz
"
